﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="m_Meeting.aspx.cs" Inherits="OAWeb.m_Meeting"  ValidateRequest="false" %>

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>


<%@ Register src="UserControl/SelUser.ascx" tagname="SelUser" tagprefix="uc1" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
	
</head>

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" 
        EnableScriptGlobalization="True" EnableScriptLocalization="True">
    </asp:ScriptManager>
<div style="text-align:center;">
		<asp:Literal ID="Literal1" runat="server"></asp:Literal>
		<table id="Table1" cellspacing="0" cellpadding="0"  border="0" style="text-align:center">
			<tr>
				<td>
					<table cellspacing="0" cellpadding="5" width="700" border="0">
						<tr>
							<td style="background-color:<%=Application[Session["Style"].ToString()+"xtable_bgcolor"]%>">
								<table cellspacing="0" bordercolordark='<%=Application[Session["Style"].ToString()+"xtable_bordercolordark"]%>' 
                                    cellpadding="5" width="100%" 
                                    bordercolorlight='<%=Application[Session["Style"].ToString()+"xtable_bordercolorlight"]%>' 
                                    border="1">
									<tr>
										<td style="background-color:<%=Application[Session["Style"].ToString()+"xtable_titlebgcolor"]%>">                      
                                             <asp:Label ID="Label1" runat="server" Text="Label" SkinID="Title">会议发起</asp:Label></td>
									</tr>
									<tr>
										<td align="left">
								            &nbsp;&nbsp;会议议题&nbsp;&nbsp; 
                                            <asp:DropDownList ID="ddlLevel" runat="server">
                                                <asp:ListItem Value="0">普通</asp:ListItem>
                                                <asp:ListItem Value="1">重要</asp:ListItem>
                                            </asp:DropDownList>
                    <asp:TextBox ID="tbTitle" runat="server" Width="269px" MaxLength="25"></asp:TextBox>
								            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="tbTitle" ErrorMessage="请填写会议议题" ValidationGroup="A"></asp:RequiredFieldValidator>
								            </td>
									</tr>
									<tr>
										<td align="left">
								            &nbsp;&nbsp;费用预算&nbsp; 
                                            <asp:TextBox ID="tbMoney" runat="server" MaxLength="10"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                ControlToValidate="tbMoney" Display="Dynamic" ErrorMessage="请填写会议预算" 
                                                ValidationGroup="A"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbMoney" ErrorMessage="格式错误" 
                                                ValidationExpression="^[1-9]\d*$" ValidationGroup="A"></asp:RegularExpressionValidator>
                                        </td>
									</tr>
      
									<tr>
										<td align="left">
										            附　件 
										            &nbsp;&nbsp;&nbsp; 
										            <asp:DropDownList ID="ddlUploadFileStr" runat="server" Width="300">
                                                    </asp:DropDownList>&nbsp;
                                                   
                                                    <asp:Button ID="btnFuJian" runat="server" Text="添加附件" 
                                                        onclick="btnFuJian_Click" />
                                                    <asp:Button ID="btnDelFile" runat="server" onclick="btnDelFile_Click" 
                                                        Text="清除附件" />
                                                    <asp:Panel ID="Panel2" runat="server" CssClass="code" Visible="False">
                                                        <asp:FileUpload ID="FileUpload1" runat="server" />
                                                        &nbsp;
                                                        <asp:Button ID="btnUpLoad" runat="server" onclick="btnUpLoad_Click" Text="上传" />
                                                    </asp:Panel>
                                                   
                                        </td>
									</tr>
									
									<tr>
										<td>内容
                                            <fckeditorv2:fckeditor id="FCKeditor2" runat="server" Height="250"></fckeditorv2:fckeditor>
										    
                                        </td>
									</tr>									
                                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                    <ContentTemplate>
                                     <tr>
										<td align="left">主 持 人&nbsp;
										 <asp:DropDownList ID="ddlMaster" runat="server" Width="150px">
                                              </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                                ControlToValidate="ddlMaster" Display="Dynamic" ErrorMessage="请选择主持人" 
                                                ValidationGroup="A"></asp:RequiredFieldValidator>
                                            <input ID="Button13" type="button" value="添加主持人" class="button" onclick="ShowSelUser('ddlMaster')" />
                                           
                                        </td>
									</tr>	
                                    </ContentTemplate>
                                    </asp:UpdatePanel>
									<asp:UpdatePanel ID="UpdatePanel3" runat="server">
                                    <ContentTemplate>
									<tr>
										<td align="left">
                                            记 录 员&nbsp;
										<asp:DropDownList ID="ddlRecorder" runat="server" Width="150px">
                                       </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                                                ControlToValidate="ddlRecorder" Display="Dynamic" ErrorMessage="请选择记录员" 
                                                ValidationGroup="A"></asp:RequiredFieldValidator>
                                            <input id="Button14" type="button" value="添加记录员" class="button" onclick="ShowSelUser('ddlRecorder')" />
                                                </td>
									</tr>									
									</ContentTemplate>
                                  </asp:UpdatePanel>
                                  
									<tr>
										<td align="left">参加人员 <asp:DropDownList ID="ddlJoiner" runat="server" Width="150px">
                    </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                                ControlToValidate="ddlJoiner" Display="Dynamic" ErrorMessage="请选择参加人员" 
                                                ValidationGroup="A"></asp:RequiredFieldValidator>
<input id="Button1" type="button" class="button" value="添加参加人员"   onclick="ShowSelUser('ddlJoiner')"/>
                                            <uc1:SelUser 
                                                ID="SelUser1" runat="server" OnUsersStrChanged="OnUsersStrChanged" />
</td>
									</tr>	
																	
									<tr>
										<td align="left">时&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;间&nbsp;&nbsp;<asp:TextBox ID="tbStartDate" runat="server" Width="80px"></asp:TextBox>
										<cc1:CalendarExtender ID="CalendarExtender1" runat="server" 
                                                TargetControlID="tbStartDate">
                                            </cc1:CalendarExtender>	 
                                            &nbsp;<asp:DropDownList ID="ddlStartHour" runat="server" Width="60px">
                                            </asp:DropDownList>
                                            <asp:TextBox ID="tbSecend1" runat="server" Width="20px" MaxLength="2">00</asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                                ControlToValidate="tbSecend1" Display="Dynamic" ErrorMessage="*" 
                                                ValidationGroup="A">*</asp:RequiredFieldValidator>
                                            分钟                                      
                                            ---<asp:DropDownList ID="ddlEndHour" runat="server" Width="60px">
                                            </asp:DropDownList>
                                            <asp:TextBox ID="tbSecend2" runat="server" Width="20px" MaxLength="2">00</asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                                ControlToValidate="tbSecend2" Display="Dynamic" ErrorMessage="*" 
                                                ValidationGroup="A">*</asp:RequiredFieldValidator>
                                            分钟<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbStartDate" Display="Dynamic" ErrorMessage="请填写会议开始时间" 
                                                ValidationGroup="A">请填写会议时间</asp:RequiredFieldValidator>
                                        </td>
									</tr>								
									<tr>
										<td align="left">空会议室 
                                            <asp:DropDownList ID="ddlRoom" runat="server" 
                                                Width="150px">
                    </asp:DropDownList>
                    <asp:Button ID="btnMeetingRoom" runat="server" Text="查询会议室" 
                                                onclick="btnMeetingRoom_Click" />
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                                ControlToValidate="ddlRoom" Display="Dynamic" ErrorMessage="未选择会议室" 
                                                ValidationGroup="A"></asp:RequiredFieldValidator>
                                        </td>
									</tr>									
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>       
    <asp:Button ID="BtnSend" runat="server" Text=" 发 送 " onclick="BtnSend_Click" 
            ValidationGroup="A"  />
    </div>

    </form>
</body>
</html>
